<template>
  <div class="app-container">
    <!-- <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
      <el-form-item label="电话" prop="phone">
        <el-input
          v-model="queryParams.phone"
          placeholder="请输入电话"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="联系人" prop="contacts">
        <el-input
          v-model="queryParams.contacts"
          placeholder="请输入联系人"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="地址" prop="address">
        <el-input
          v-model="queryParams.address"
          placeholder="请输入地址"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语" prop="goodatshort1Cn">
        <el-input
          v-model="queryParams.goodatshort1Cn"
          placeholder="请输入公司优势 短语"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语描述" prop="goodatshort1descCn">
        <el-input
          v-model="queryParams.goodatshort1descCn"
          placeholder="请输入公司优势 短语描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 描述" prop="goodatshort2Cn">
        <el-input
          v-model="queryParams.goodatshort2Cn"
          placeholder="请输入公司优势 描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语描述" prop="goodatshort2descCn">
        <el-input
          v-model="queryParams.goodatshort2descCn"
          placeholder="请输入公司优势 短语描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语" prop="goodatshort3Cn">
        <el-input
          v-model="queryParams.goodatshort3Cn"
          placeholder="请输入公司优势 短语"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语描述" prop="goodatshort3descCn">
        <el-input
          v-model="queryParams.goodatshort3descCn"
          placeholder="请输入公司优势 短语描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 描述" prop="goodatshort4Cn">
        <el-input
          v-model="queryParams.goodatshort4Cn"
          placeholder="请输入公司优势 描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语描述" prop="goodatshort4descCn">
        <el-input
          v-model="queryParams.goodatshort4descCn"
          placeholder="请输入公司优势 短语描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 描述" prop="goodatshort5Cn">
        <el-input
          v-model="queryParams.goodatshort5Cn"
          placeholder="请输入公司优势 描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语描述" prop="goodatshort5descCn">
        <el-input
          v-model="queryParams.goodatshort5descCn"
          placeholder="请输入公司优势 短语描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="四大专线标题" prop="sdzxtitle1Cn">
        <el-input
          v-model="queryParams.sdzxtitle1Cn"
          placeholder="请输入四大专线标题"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="四大专线标题" prop="sdzxtitle2Cn">
        <el-input
          v-model="queryParams.sdzxtitle2Cn"
          placeholder="请输入四大专线标题"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="四大专线标题" prop="sdzxtitle3Cn">
        <el-input
          v-model="queryParams.sdzxtitle3Cn"
          placeholder="请输入四大专线标题"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="四大专线标题" prop="sdzxtitle4Cn">
        <el-input
          v-model="queryParams.sdzxtitle4Cn"
          placeholder="请输入四大专线标题"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="关于我们" prop="aboutusCn">
        <el-input
          v-model="queryParams.aboutusCn"
          placeholder="请输入关于我们"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语" prop="goodatshort1Ra">
        <el-input
          v-model="queryParams.goodatshort1Ra"
          placeholder="请输入公司优势 短语"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语描述" prop="goodatshort1descRa">
        <el-input
          v-model="queryParams.goodatshort1descRa"
          placeholder="请输入公司优势 短语描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 描述" prop="goodatshort2Ra">
        <el-input
          v-model="queryParams.goodatshort2Ra"
          placeholder="请输入公司优势 描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语描述" prop="goodatshort2descRa">
        <el-input
          v-model="queryParams.goodatshort2descRa"
          placeholder="请输入公司优势 短语描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语" prop="goodatshort3Ra">
        <el-input
          v-model="queryParams.goodatshort3Ra"
          placeholder="请输入公司优势 短语"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语描述" prop="goodatshort3descRa">
        <el-input
          v-model="queryParams.goodatshort3descRa"
          placeholder="请输入公司优势 短语描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 描述" prop="goodatshort4Ra">
        <el-input
          v-model="queryParams.goodatshort4Ra"
          placeholder="请输入公司优势 描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语描述" prop="goodatshort4descRa">
        <el-input
          v-model="queryParams.goodatshort4descRa"
          placeholder="请输入公司优势 短语描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 描述" prop="goodatshort5Ra">
        <el-input
          v-model="queryParams.goodatshort5Ra"
          placeholder="请输入公司优势 描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="公司优势 短语描述" prop="goodatshort5descRa">
        <el-input
          v-model="queryParams.goodatshort5descRa"
          placeholder="请输入公司优势 短语描述"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="四大专线标题" prop="sdzxtitle1Ra">
        <el-input
          v-model="queryParams.sdzxtitle1Ra"
          placeholder="请输入四大专线标题"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="四大专线标题" prop="sdzxtitle2Ra">
        <el-input
          v-model="queryParams.sdzxtitle2Ra"
          placeholder="请输入四大专线标题"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="四大专线标题" prop="sdzxtitle3Ra">
        <el-input
          v-model="queryParams.sdzxtitle3Ra"
          placeholder="请输入四大专线标题"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="四大专线标题" prop="sdzxtitle4Ra">
        <el-input
          v-model="queryParams.sdzxtitle4Ra"
          placeholder="请输入四大专线标题"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="关于我们" prop="aboutusRa">
        <el-input
          v-model="queryParams.aboutusRa"
          placeholder="请输入关于我们"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form> -->

    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['system:configs:add']"
        >新增
        </el-button
        >
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['system:configs:edit']"
        >修改
        </el-button
        >
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['system:configs:remove']"
        >删除
        </el-button
        >
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['system:configs:export']"
        >导出
        </el-button
        >
      </el-col>
      <right-toolbar
        :showSearch.sync="showSearch"
        @queryTable="getList"
      ></right-toolbar>
    </el-row>

    <el-table
      v-loading="loading"
      :data="configsList"
      @selection-change="handleSelectionChange"
    >
      <el-table-column type="selection" width="55" align="center"/>
      <el-table-column label="ID" align="center" prop="id"/>
      <el-table-column label="LOGO" align="center" prop="logo" width="100">
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.logo)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column label="电话" align="center" prop="phone"/>
      <el-table-column label="联系人" align="center" prop="contacts"/>
      <el-table-column label="地址" align="center" prop="address">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.address"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.address }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势图片1"
        align="center"
        prop="goodatImgUrl1"
        width="100"
      >
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.goodatImgUrl1)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势图片2"
        align="center"
        prop="goodatImgUrl2"
        width="100"
      >
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.goodatImgUrl2)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势图片3"
        align="center"
        prop="goodatImgUrl3"
        width="100"
      >
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.goodatImgUrl3)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势图片4"
        align="center"
        prop="goodatImgUrl4"
        width="100"
      >
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.goodatImgUrl4)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势图片5"
        align="center"
        prop="goodatImgUrl5"
        width="100"
      >
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.goodatImgUrl5)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column label="公司优势 描述" align="center" prop="goodatCn">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatCn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语"
        align="center"
        prop="goodatshort1Cn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort1Cn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatshort1Cn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语描述"
        align="center"
        prop="goodatshort1descCn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort1descCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{
                scope.row.goodatshort1descCn
              }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 描述"
        align="center"
        prop="goodatshort2Cn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort2Cn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatshort2Cn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语描述"
        align="center"
        prop="goodatshort2descCn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort2descCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{
                scope.row.goodatshort2descCn
              }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语"
        align="center"
        prop="goodatshort3Cn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort3Cn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatshort3Cn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语描述"
        align="center"
        prop="goodatshort3descCn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort3descCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{
                scope.row.goodatshort3descCn
              }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 描述"
        align="center"
        prop="goodatshort4Cn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort4Cn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatshort4Cn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语描述"
        align="center"
        prop="goodatshort4descCn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort4descCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{
                scope.row.goodatshort4descCn
              }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 描述"
        align="center"
        prop="goodatshort5Cn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort5Cn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatshort5Cn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语描述"
        align="center"
        prop="goodatshort5descCn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort5descCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{
                scope.row.goodatshort5descCn
              }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="四大专线 描述" align="center" prop="sdzxCn">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.sdzxCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.sdzxCn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="四大专线标题" align="center" prop="sdzxtitle1Cn">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.sdzxtitle1Cn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.sdzxtitle1Cn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="四大专线图片"
        align="center"
        prop="sdzxpic1Cn"
        width="100"
      >
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.sdzxpic1Cn)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column label="四大专线标题" align="center" prop="sdzxtitle2Cn">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.sdzxtitle2Cn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.sdzxtitle2Cn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="四大专线图片"
        align="center"
        prop="sdzxpic2Cn"
        width="100"
      >
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.sdzxpic2Cn)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column label="四大专线标题" align="center" prop="sdzxtitle3Cn">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.sdzxtitle3Cn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.sdzxtitle3Cn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="四大专线图片"
        align="center"
        prop="sdzxpic3Cn"
        width="100"
      >
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.sdzxpic3Cn)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column label="四大专线标题" align="center" prop="sdzxtitle4Cn">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.sdzxtitle4Cn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.sdzxtitle4Cn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="四大专线图片"
        align="center"
        prop="sdzxpic4Cn"
        width="100"
      >
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.sdzxpic4Cn)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column
        label="中俄一车通零担拼车 描述"
        align="center"
        prop="zeycdCn"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.zeycdCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.zeycdCn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="关于我们" align="center" prop="aboutusCn">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.aboutusCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.aboutusCn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="关于我们描述" align="center" prop="aboutusdescCn">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.aboutusdescCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.aboutusdescCn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="关于我们图片"
        align="center"
        prop="aboutusPic"
        width="100"
      >
        <template slot-scope="scope">
          <image-preview
            :src="isHttp(scope.row.aboutusPic)"
            :width="50"
            :height="50"
          />
        </template>
      </el-table-column>
      <el-table-column label="公司宣传语中文" align="center" prop="gsxcyCn">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.gsxcyCn"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.gsxcyCn }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="公司优势 描述" align="center" prop="goodatRa">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatRa }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语"
        align="center"
        prop="goodatshort1Ra"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort1Ra"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatshort1Ra }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语描述"
        align="center"
        prop="goodatshort1descRa"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort1descRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{
                scope.row.goodatshort1descRa
              }}</span>
          </el-tooltip>
        </template>
      </el-table-column>

      <el-table-column
        label="公司优势 描述"
        align="center"
        prop="goodatshort2Ra"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort2Ra"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatshort2Ra }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语描述"
        align="center"
        prop="goodatshort2descRa"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort2descRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{
                scope.row.goodatshort2descRa
              }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语"
        align="center"
        prop="goodatshort3Ra"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort3Ra"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatshort3Ra }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语描述"
        align="center"
        prop="goodatshort3descRa"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort3descRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{
                scope.row.goodatshort3descRa
              }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 描述"
        align="center"
        prop="goodatshort4Ra"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort4Ra"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatshort4Ra }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语描述"
        align="center"
        prop="goodatshort4descRa"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort4descRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{
                scope.row.goodatshort4descRa
              }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 描述"
        align="center"
        prop="goodatshort5Ra"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort5Ra"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.goodatshort5Ra }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="公司优势 短语描述"
        align="center"
        prop="goodatshort5descRa"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.goodatshort5descRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{
                scope.row.goodatshort5descRa
              }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="四大专线 描述" align="center" prop="sdzxRa">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.sdzxRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.sdzxRa }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="四大专线标题" align="center" prop="sdzxtitle1Ra">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.sdzxtitle1Ra"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.sdzxtitle1Ra }}</span>
          </el-tooltip>
        </template>
      </el-table-column>

      <el-table-column label="四大专线标题" align="center" prop="sdzxtitle2Ra">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.sdzxtitle2Ra"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.sdzxtitle2Ra }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="四大专线标题" align="center" prop="sdzxtitle3Ra">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.sdzxtitle3Ra"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.sdzxtitle3Ra }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="四大专线标题" align="center" prop="sdzxtitle4Ra">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.sdzxtitle4Ra"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.sdzxtitle4Ra }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="中俄一车通零担拼车 描述"
        align="center"
        prop="zeycdRa"
      >
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.zeycdRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.zeycdRa }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="关于我们" align="center" prop="aboutusRa">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.aboutusRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.aboutusRa }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="关于我们描述" align="center" prop="aboutusdescRa">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.aboutusdescRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.aboutusdescRa }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column label="公司宣传语俄文" align="center" prop="gsxcyRa">
        <template slot-scope="scope">
          <el-tooltip
            class="item"
            effect="dark"
            :content="scope.row.gsxcyRa"
            placement="right-start"
          >
            <span class="text-ellipsis">{{ scope.row.gsxcyRa }}</span>
          </el-tooltip>
        </template>
      </el-table-column>
      <el-table-column
        label="操作"
        align="center"
        class-name="small-padding fixed-width"
        fixed="right"
      >
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['system:configs:edit']"
          >修改
          </el-button
          >
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['system:configs:remove']"
          >删除
          </el-button
          >
        </template>
      </el-table-column>
    </el-table>

    <pagination
      v-show="total > 0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />

    <!-- 添加或配置对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="50%" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="LOGO" prop="logo">
          <image-upload v-model="form.logo"/>
        </el-form-item>
        <el-form-item label="电话" prop="phone">
          <el-input v-model="form.phone" placeholder="请输入电话"/>
        </el-form-item>
        <el-form-item label="联系人" prop="contacts">
          <el-input v-model="form.contacts" placeholder="请输入联系人"/>
        </el-form-item>
        <el-form-item label="地址" prop="address">
          <el-input v-model="form.address" placeholder="请输入地址"/>
        </el-form-item>
        <el-form-item label="公司优势图片1" prop="goodatImgUrl1">
          <image-upload v-model="form.goodatImgUrl1"/>
        </el-form-item>
        <el-form-item label="公司优势图片2" prop="goodatImgUrl2">
          <image-upload v-model="form.goodatImgUrl2"/>
        </el-form-item>
        <el-form-item label="公司优势图片3" prop="goodatImgUrl3">
          <image-upload v-model="form.goodatImgUrl3"/>
        </el-form-item>
        <el-form-item label="公司优势图片4" prop="goodatImgUrl4">
          <image-upload v-model="form.goodatImgUrl4"/>
        </el-form-item>
        <el-form-item label="公司优势图片5" prop="goodatImgUrl5">
          <image-upload v-model="form.goodatImgUrl5"/>
        </el-form-item>
        <el-form-item label="四大专线图片" prop="sdzxpic1Cn">
          <image-upload v-model="form.sdzxpic1Cn"/>
        </el-form-item>
        <el-form-item label="四大专线图片" prop="sdzxpic2Cn">
          <image-upload v-model="form.sdzxpic2Cn"/>
        </el-form-item>
        <el-form-item label="四大专线图片" prop="sdzxpic3Cn">
          <image-upload v-model="form.sdzxpic3Cn"/>
        </el-form-item>
        <el-form-item label="四大专线图片" prop="sdzxpic3Cn">
          <image-upload v-model="form.sdzxpic4Cn"/>
        </el-form-item>
        <el-form-item label="四大专线图片" prop="sdzxpic3Cn">
          <image-upload v-model="form.sdzxpic4Cn"/>
        </el-form-item>
        <el-form-item label="关于我们底部图片" prop="aboutusPic">
          <image-upload v-model="form.aboutusPic"/>
        </el-form-item>
        <div style="display: flex">
          <div class="cn" style="flex: 1">
            <div style="text-align: center; margin-bottom: 10px">中文</div>
            <el-form-item label="公司优势 描述" prop="goodatCn">
              <el-input
                v-model="form.goodatCn"
                type="textarea"
                placeholder="请输入内容"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语" prop="goodatshort1Cn">
              <el-input
                v-model="form.goodatshort1Cn"
                placeholder="请输入公司优势 短语"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语描述" prop="goodatshort1descCn">
              <el-input
                v-model="form.goodatshort1descCn"
                placeholder="请输入公司优势 短语描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 描述" prop="goodatshort2Cn">
              <el-input
                v-model="form.goodatshort2Cn"
                placeholder="请输入公司优势 描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语描述" prop="goodatshort2descCn">
              <el-input
                v-model="form.goodatshort2descCn"
                placeholder="请输入公司优势 短语描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语" prop="goodatshort3Cn">
              <el-input
                v-model="form.goodatshort3Cn"
                placeholder="请输入公司优势 短语"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语描述" prop="goodatshort3descCn">
              <el-input
                v-model="form.goodatshort3descCn"
                placeholder="请输入公司优势 短语描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 描述" prop="goodatshort4Cn">
              <el-input
                v-model="form.goodatshort4Cn"
                placeholder="请输入公司优势 描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语描述" prop="goodatshort4descCn">
              <el-input
                v-model="form.goodatshort4descCn"
                placeholder="请输入公司优势 短语描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 描述" prop="goodatshort5Cn">
              <el-input
                v-model="form.goodatshort5Cn"
                placeholder="请输入公司优势 描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语描述" prop="goodatshort5descCn">
              <el-input
                v-model="form.goodatshort5descCn"
                placeholder="请输入公司优势 短语描述"
              />
            </el-form-item>
            <el-form-item label="四大专线 描述" prop="sdzxCn">
              <el-input
                v-model="form.sdzxCn"
                type="textarea"
                placeholder="请输入内容"
              />
            </el-form-item>
            <el-form-item label="四大专线标题" prop="sdzxtitle1Cn">
              <el-input
                v-model="form.sdzxtitle1Cn"
                placeholder="请输入四大专线标题"
              />
            </el-form-item>
            <!-- <el-form-item label="四大专线图片" prop="sdzxpic1Cn">
              <image-upload v-model="form.sdzxpic1Cn" />
            </el-form-item> -->
            <el-form-item label="四大专线标题" prop="sdzxtitle2Cn">
              <el-input
                v-model="form.sdzxtitle2Cn"
                placeholder="请输入四大专线标题"
              />
            </el-form-item>
            <!-- <el-form-item label="四大专线图片" prop="sdzxpic2Cn">
              <image-upload v-model="form.sdzxpic2Cn" />
            </el-form-item> -->
            <el-form-item label="四大专线标题" prop="sdzxtitle3Cn">
              <el-input
                v-model="form.sdzxtitle3Cn"
                placeholder="请输入四大专线标题"
              />
            </el-form-item>
            <!-- <el-form-item label="四大专线图片" prop="sdzxpic3Cn">
              <image-upload v-model="form.sdzxpic3Cn" />
            </el-form-item> -->
            <el-form-item label="四大专线标题" prop="sdzxtitle4Cn">
              <el-input
                v-model="form.sdzxtitle4Cn"
                placeholder="请输入四大专线标题"
              />
            </el-form-item>
            <!-- <el-form-item label="四大专线图片" prop="sdzxpic4Cn">
              <image-upload v-model="form.sdzxpic4Cn" />
            </el-form-item> -->
            <el-form-item label="中俄一车通零担拼车 描述" prop="zeycdCn">
              <el-input
                v-model="form.zeycdCn"
                type="textarea"
                placeholder="请输入内容"
              />
            </el-form-item>
            <el-form-item label="关于我们" prop="aboutusCn">
              <el-input v-model="form.aboutusCn" placeholder="请输入关于我们"/>
            </el-form-item>
            <el-form-item label="关于我们描述" prop="aboutusdescCn">
              <el-input
                v-model="form.aboutusdescCn"
                type="textarea"
                placeholder="请输入关于我们描述"
              />
            </el-form-item>
            <el-form-item label="公司宣传语中文" prop="gsxcyCn">
              <el-input v-model="form.gsxcyCn" placeholder="请输入公司宣传语俄文"/>
            </el-form-item>
          </div>
          <div class="ra" style="flex: 1">
            <div style="text-align: center; margin-bottom: 10px">俄文</div>
            <el-form-item label="公司优势 描述" prop="goodatRa">
              <el-input
                v-model="form.goodatRa"
                type="textarea"
                placeholder="请输入内容"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语" prop="goodatshort1Ra">
              <el-input
                v-model="form.goodatshort1Ra"
                placeholder="请输入公司优势 短语"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语描述" prop="goodatshort1descRa">
              <el-input
                v-model="form.goodatshort1descRa"
                placeholder="请输入公司优势 短语描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 描述" prop="goodatshort2Ra">
              <el-input
                v-model="form.goodatshort2Ra"
                placeholder="请输入公司优势 描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语描述" prop="goodatshort2descRa">
              <el-input
                v-model="form.goodatshort2descRa"
                placeholder="请输入公司优势 短语描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语" prop="goodatshort3Ra">
              <el-input
                v-model="form.goodatshort3Ra"
                placeholder="请输入公司优势 短语"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语描述" prop="goodatshort3descRa">
              <el-input
                v-model="form.goodatshort3descRa"
                placeholder="请输入公司优势 短语描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 描述" prop="goodatshort4Ra">
              <el-input
                v-model="form.goodatshort4Ra"
                placeholder="请输入公司优势 描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语描述" prop="goodatshort4descRa">
              <el-input
                v-model="form.goodatshort4descRa"
                placeholder="请输入公司优势 短语描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 描述" prop="goodatshort5Ra">
              <el-input
                v-model="form.goodatshort5Ra"
                placeholder="请输入公司优势 描述"
              />
            </el-form-item>
            <el-form-item label="公司优势 短语描述" prop="goodatshort5descRa">
              <el-input
                v-model="form.goodatshort5descRa"
                placeholder="请输入公司优势 短语描述"
              />
            </el-form-item>
            <el-form-item label="四大专线 描述" prop="sdzxRa">
              <el-input
                v-model="form.sdzxRa"
                type="textarea"
                placeholder="请输入内容"
              />
            </el-form-item>
            <el-form-item label="四大专线标题" prop="sdzxtitle1Ra">
              <el-input
                v-model="form.sdzxtitle1Ra"
                placeholder="请输入四大专线标题"
              />
            </el-form-item>
            <el-form-item label="四大专线标题" prop="sdzxtitle2Ra">
              <el-input
                v-model="form.sdzxtitle2Ra"
                placeholder="请输入四大专线标题"
              />
            </el-form-item>
            <el-form-item label="四大专线标题" prop="sdzxtitle3Ra">
              <el-input
                v-model="form.sdzxtitle3Ra"
                placeholder="请输入四大专线标题"
              />
            </el-form-item>
            <el-form-item label="四大专线标题" prop="sdzxtitle4Ra">
              <el-input
                v-model="form.sdzxtitle4Ra"
                placeholder="请输入四大专线标题"
              />
            </el-form-item>
            <el-form-item label="中俄一车通零担拼车 描述" prop="zeycdRa">
              <el-input
                v-model="form.zeycdRa"
                type="textarea"
                placeholder="请输入内容"
              />
            </el-form-item>
            <el-form-item label="关于我们" prop="aboutusRa">
              <el-input v-model="form.aboutusRa" placeholder="请输入关于我们"/>
            </el-form-item>
            <el-form-item label="关于我们描述" prop="aboutusdescRa">
              <el-input
                v-model="form.aboutusdescRa"
                type="textarea"
                placeholder="请输入关于我们描述"
              />
            </el-form-item>
            <el-form-item label="公司宣传语俄文" prop="gsxcyRa">
              <el-input v-model="form.gsxcyRa" placeholder="请输入公司宣传语俄文"/>
            </el-form-item>
          </div>
        </div>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import {
  listConfigs,
  getConfigs,
  delConfigs,
  addConfigs,
  updateConfigs
} from '@/api/system/configs'

export default {
  name: 'Configs',
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 2表格数据
      configsList: [],
      // 弹出层标题
      title: '',
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        logo: null,
        phone: null,
        contacts: null,
        address: null,

        goodatImgUrl1: null,
        goodatImgUrl2: null,
        goodatImgUrl3: null,
        goodatImgUrl4: null,
        goodatImgUrl5: null,

        goodatCn: null,
        goodatshort1Cn: null,
        goodatshort1descCn: null,
        goodatshort2Cn: null,
        goodatshort2descCn: null,
        goodatshort3Cn: null,
        goodatshort3descCn: null,
        goodatshort4Cn: null,
        goodatshort4descCn: null,
        goodatshort5Cn: null,
        goodatshort5descCn: null,
        sdzxCn: null,
        sdzxtitle1Cn: null,
        sdzxpic1Cn: null,
        sdzxtitle2Cn: null,
        sdzxpic2Cn: null,
        sdzxtitle3Cn: null,
        sdzxpic3Cn: null,
        sdzxtitle4Cn: null,
        sdzxpic4Cn: null,
        zeycdCn: null,
        aboutusCn: null,
        aboutusdescCn: null,
        goodatRa: null,
        goodatshort1Ra: null,
        goodatshort1descRa: null,
        goodatshort2Ra: null,
        goodatshort2descRa: null,
        goodatshort3Ra: null,
        goodatshort3descRa: null,
        goodatshort4Ra: null,
        goodatshort4descRa: null,
        goodatshort5Ra: null,
        goodatshort5descRa: null,
        sdzxRa: null,
        sdzxtitle1Ra: null,
        sdzxtitle2Ra: null,
        sdzxtitle3Ra: null,
        sdzxtitle4Ra: null,
        zeycdRa: null,
        aboutusRa: null,
        aboutusdescRa: null,
        aboutusPic: null,
        gsxcyCn: null,
        gsxcyRa: null
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {}
    }
  },
  created() {
    this.getList()
  },
  methods: {
    /** 查询2列表 */
    getList() {
      this.loading = true
      listConfigs(this.queryParams).then((response) => {
        this.configsList = response.rows
        this.total = response.total
        this.loading = false
      })
    },
    // 取消按钮
    cancel() {
      this.open = false
      this.reset()
    },
    // 表单重置
    reset() {
      this.form = {
        id: null,
        logo: null,
        phone: null,
        contacts: null,
        address: null,
        goodatImgUrl1: null,
        goodatImgUrl2: null,
        goodatImgUrl3: null,
        goodatImgUrl4: null,
        goodatImgUrl5: null,
        goodatCn: null,
        goodatshort1Cn: null,
        goodatshort1descCn: null,
        goodatshort2Cn: null,
        goodatshort2descCn: null,
        goodatshort3Cn: null,
        goodatshort3descCn: null,
        goodatshort4Cn: null,
        goodatshort4descCn: null,
        goodatshort5Cn: null,
        goodatshort5descCn: null,
        sdzxCn: null,
        sdzxtitle1Cn: null,
        sdzxpic1Cn: null,
        sdzxtitle2Cn: null,
        sdzxpic2Cn: null,
        sdzxtitle3Cn: null,
        sdzxpic3Cn: null,
        sdzxtitle4Cn: null,
        sdzxpic4Cn: null,
        zeycdCn: null,
        aboutusCn: null,
        aboutusdescCn: null,
        goodatRa: null,
        goodatshort1Ra: null,
        goodatshort1descRa: null,
        goodatshort2Ra: null,
        goodatshort2descRa: null,
        goodatshort3Ra: null,
        goodatshort3descRa: null,
        goodatshort4Ra: null,
        goodatshort4descRa: null,
        goodatshort5Ra: null,
        goodatshort5descRa: null,
        sdzxRa: null,
        sdzxtitle1Ra: null,
        sdzxtitle2Ra: null,
        sdzxtitle3Ra: null,
        sdzxtitle4Ra: null,
        zeycdRa: null,
        aboutusRa: null,
        aboutusdescRa: null,
        aboutusPic: null,
        gsxcyCn: null,
        gsxcyRa: null
      }
      this.resetForm('form')
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1
      this.getList()
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm('queryForm')
      this.handleQuery()
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map((item) => item.id)
      this.single = selection.length !== 1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset()
      this.open = true
      this.title = '添加配置'
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset()
      const id = row.id || this.ids
      getConfigs(id).then((response) => {
        this.form = response.data
        this.open = true
        this.title = '修改配置'
      })
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs['form'].validate((valid) => {
        if (valid) {
          if (this.form.id != null) {
            updateConfigs(this.form).then((response) => {
              this.$modal.msgSuccess('修改成功')
              this.open = false
              this.getList()
            })
          } else {
            addConfigs(this.form).then((response) => {
              this.$modal.msgSuccess('新增成功')
              this.open = false
              this.getList()
            })
          }
        }
      })
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids
      this.$modal
        .confirm('是否确认删除2编号为"' + ids + '"的数据项？')
        .then(function() {
          return delConfigs(ids)
        })
        .then(() => {
          this.getList()
          this.$modal.msgSuccess('删除成功')
        })
        .catch(() => {
        })
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download(
        'system/configs/export',
        {
          ...this.queryParams
        },
        `configs_${new Date().getTime()}.xlsx`
      )
    }
  }
}
</script>
<style scoped>
.text-ellipsis {
  white-space: nowrap; /* 禁止换行 */
  overflow: hidden; /* 隐藏溢出的部分 */
  text-overflow: ellipsis; /* 超出部分显示省略号 */
}
</style>
